Skip to content

docs(openspec): plan #2130 add osv-scanner and ruff toolrun digests - #2978

Merged
dan-petty merged 1 commit into
mainfrom
feat/2130-the-toolrun-of-osv-scanner-and
Nov 1, 2026
Merged

dan-petty merged 1 commit into
mainfrom
feat/2130-the-toolrun-of-osv-scanner-and

Conversation

@devops-cli-service

Copy link
Copy Markdown
Contributor

Plans #2130

This change adds a digest field to the ToolRun record of osv-scanner and Ruff runs. The osv-scanner ToolRun records a streamed SHA-256 of its advisory database files in sorted order. The digest changes when the database changes and stays the same when it does not. The Ruff ToolRun records the SHA-256 of the resolved configuration that Ruff used for the target, obtained from ruff --show-settings. These digests let a user verify which database version or configuration produced a given scan result. The 36 MB PyPI database exceeds the file-size cap of a plain file hash, so the osv-scanner digest streams the hash over the database files rather than loading them into memory. The Ruff digest covers the resolved configuration, not the raw file.

Change: openspec/changes/2130-the-toolrun-of-osv-scanner-and/

@devops-cli-service
devops-cli-service Bot marked this pull request as ready for review November 1, 2026 04:16
@dan-petty
dan-petty merged commit 7231ebc into main Nov 1, 2026
18 checks passed
@dan-petty
dan-petty deleted the feat/2130-the-toolrun-of-osv-scanner-and branch November 1, 2026 10:16
dan-petty added a commit that referenced this pull request Nov 1, 2026
This change corrects the OpenSpec plan for #2130 in place. The first
plan came from pull request #2978. An evaluation on 2026-11-01 found
defects in it.

The corrected plan keeps the osv-scanner work: name the `all.zip` files
of the offline database as ruleset files, and digest a ruleset file
below a read-only bind as a stream. It adds no Ruff code. The Ruff
config digest already follows the config files that Ruff finds by name.
The plan now says that a base file named by `extend` is not covered, and
leaves that choice to a person.

The change touches only the change folder of #2130. It changes no code
and no test.

Plans #2130
dan-petty added a commit that referenced this pull request Nov 17, 2026
This PR contains the following updates:

| Package | Change |
[Age](https://docs.renovatebot.com/merge-confidence/) |
[Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
| [ast-grep-cli](https://ast-grep.github.io/)
([source](https://redirect.github.com/ast-grep/ast-grep),
[changelog](https://redirect.github.com/ast-grep/ast-grep/blob/main/CHANGELOG.md))
| `==0.51.2` → `==0.51.3` |
![age](https://developer.mend.io/api/mc/badges/age/pypi/ast-grep-cli/0.51.3?slim=true)
|
![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/ast-grep-cli/0.51.2/0.51.3?slim=true)
|
| [diff-cover](https://redirect.github.com/Bachmann1234/diff-cover) |
`==11.0.1` → `==11.0.2` |
![age](https://developer.mend.io/api/mc/badges/age/pypi/diff-cover/11.0.2?slim=true)
|
![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/diff-cover/11.0.1/11.0.2?slim=true)
|
| [fastapi](https://redirect.github.com/fastapi/fastapi)
([changelog](https://fastapi.tiangolo.com/release-notes/)) | `==0.162.5`
→ `==0.162.7` |
![age](https://developer.mend.io/api/mc/badges/age/pypi/fastapi/0.162.7?slim=true)
|
![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/fastapi/0.162.5/0.162.7?slim=true)
|
| [httpcore2](https://redirect.github.com/pydantic/httpx2)
([changelog](https://redirect.github.com/pydantic/httpx2/blob/main/src/httpcore2/CHANGELOG.md))
| `==2.16.0` → `==2.16.2` |
![age](https://developer.mend.io/api/mc/badges/age/pypi/httpcore2/2.16.2?slim=true)
|
![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/httpcore2/2.16.0/2.16.2?slim=true)
|
| [httpx2](https://redirect.github.com/pydantic/httpx2)
([changelog](https://redirect.github.com/pydantic/httpx2/blob/main/src/httpx2/CHANGELOG.md))
| `==2.16.0` → `==2.16.2` |
![age](https://developer.mend.io/api/mc/badges/age/pypi/httpx2/2.16.2?slim=true)
|
![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/httpx2/2.16.0/2.16.2?slim=true)
|
| [lizard](http://www.lizard.ws)
([source](https://redirect.github.com/terryyin/lizard)) | `==1.26.0` →
`==1.26.1` |
![age](https://developer.mend.io/api/mc/badges/age/pypi/lizard/1.26.1?slim=true)
|
![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/lizard/1.26.0/1.26.1?slim=true)
|
|
[pydantic-settings](https://redirect.github.com/pydantic/pydantic-settings)
([changelog](https://redirect.github.com/pydantic/pydantic-settings/releases))
| `==2.16.2` → `==2.16.3` |
![age](https://developer.mend.io/api/mc/badges/age/pypi/pydantic-settings/2.16.3?slim=true)
|
![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/pydantic-settings/2.16.2/2.16.3?slim=true)
|
| [syrupy](https://redirect.github.com/syrupy-project/syrupy) |
`==7.0.0` → `==7.0.2` |
![age](https://developer.mend.io/api/mc/badges/age/pypi/syrupy/7.0.2?slim=true)
|
![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/syrupy/7.0.0/7.0.2?slim=true)
|
| [ty](https://redirect.github.com/astral-sh/ty)
([changelog](https://redirect.github.com/astral-sh/ty/blob/main/CHANGELOG.md))
| `==0.0.101` → `==0.0.104` |
![age](https://developer.mend.io/api/mc/badges/age/pypi/ty/0.0.104?slim=true)
|
![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/ty/0.0.101/0.0.104?slim=true)
|
| [types-pyyaml](https://redirect.github.com/python/typeshed)
([changelog](https://redirect.github.com/typeshed-internal/stub_uploader/blob/main/data/changelogs/PyYAML.md))
| `==6.0.12.20261111` → `==6.0.12.20261113` |
![age](https://developer.mend.io/api/mc/badges/age/pypi/types-pyyaml/6.0.12.20261113?slim=true)
|
![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/types-pyyaml/6.0.12.20261111/6.0.12.20261113?slim=true)
|

---

### Release Notes

<details>
<summary>ast-grep/ast-grep (ast-grep-cli)</summary>

###
[`v0.51.3`](https://redirect.github.com/ast-grep/ast-grep/blob/HEAD/CHANGELOG.md#0513)

[Compare
Source](https://redirect.github.com/ast-grep/ast-grep/compare/0.51.2...0.51.3)

- feat(cli): load built-in outline rules from project config
[`#2978`](https://redirect.github.com/ast-grep/ast-grep/pull/2978)
- fix(cli): replace npm binaries atomically in postinstall
[`#3083`](https://redirect.github.com/ast-grep/ast-grep/pull/3083)
- chore(deps): update rust crate inquire to v0.9.5
[`#3097`](https://redirect.github.com/ast-grep/ast-grep/pull/3097)
- fix(config): allow range rule with only one column on a single line
[`#3091`](https://redirect.github.com/ast-grep/ast-grep/pull/3091)
- Revert "chore(deps): update dependency node to v26
([#&#8203;3069](https://redirect.github.com/ast-grep/ast-grep/issues/3069))"
[`#3095`](https://redirect.github.com/ast-grep/ast-grep/pull/3095)
- chore(deps): update dependency python to 3.15
[`#2996`](https://redirect.github.com/ast-grep/ast-grep/pull/2996)
- chore(deps): update rust crate tree-sitter-scala to v0.26.13
[`#3086`](https://redirect.github.com/ast-grep/ast-grep/pull/3086)
- chore(deps): update dependency
[@&#8203;ast-grep/napi](https://redirect.github.com/ast-grep/napi) to
v0.51.2
[`#3089`](https://redirect.github.com/ast-grep/ast-grep/pull/3089)
- chore(deps): update rust crate libloading to v0.9.1
[`#3093`](https://redirect.github.com/ast-grep/ast-grep/pull/3093)
- ci(pyo3): build Python 3.15 wheels on Linux and Windows
[`#3094`](https://redirect.github.com/ast-grep/ast-grep/pull/3094)
- chore(deps): update rust crate napi to v3.16.2
[`#3087`](https://redirect.github.com/ast-grep/ast-grep/pull/3087)
- chore(deps): update rust crate napi-derive to v3.7.1
[`#3088`](https://redirect.github.com/ast-grep/ast-grep/pull/3088)
- chore(npm): require Node.js 20 or later
[`4fd48c5`](https://redirect.github.com/ast-grep/ast-grep/commit/4fd48c52c7eee7d80297079bb752394b0ee36f41)
- fix: bump pyo3 version
[`c7e005c`](https://redirect.github.com/ast-grep/ast-grep/commit/c7e005c685241c21fcd36d69ca38e037c9da7c0a)

</details>

<details>
<summary>Bachmann1234/diff-cover (diff-cover)</summary>

###
[`v11.0.2`](https://redirect.github.com/Bachmann1234/diff_cover/releases/tag/v11.0.2):
Version 11.0.2

[Compare
Source](https://redirect.github.com/Bachmann1234/diff-cover/compare/v11.0.1...v11.0.2)

#### What's Changed

- Fix LCOV parsing for function names containing commas by
[@&#8203;zombieli](https://redirect.github.com/zombieli) in
[Bachmann1234/diff_cover#655](https://redirect.github.com/Bachmann1234/diff_cover/pull/655)

#### New Contributors

- [@&#8203;zombieli](https://redirect.github.com/zombieli) made their
first contribution in
[Bachmann1234/diff_cover#655](https://redirect.github.com/Bachmann1234/diff_cover/pull/655)

**Full Changelog**:
<Bachmann1234/diff_cover@v11.0.1...v11.0.2>

</details>

<details>
<summary>fastapi/fastapi (fastapi)</summary>

###
[`v0.162.7`](https://redirect.github.com/fastapi/fastapi/releases/tag/0.162.7)

[Compare
Source](https://redirect.github.com/fastapi/fastapi/compare/0.162.6...0.162.7)

> FastAPI includes an official skill that helps coding agents use new
features and recommended patterns for your installed version. Install it
with `uvx library-skills` in your project. See [Develop with
AI](https://fastapi.tiangolo.com/ai-development/).

##### Fixes

- 🐛 Fix async yield dependency cleanup on cancellation. PR
[#&#8203;16739](https://redirect.github.com/fastapi/fastapi/pull/16739)
by [@&#8203;tiangolo](https://redirect.github.com/tiangolo).

##### Internal

- 🔒️ Generate GH actions workflow lockfile and bump Zizmor. PR
[#&#8203;16736](https://redirect.github.com/fastapi/fastapi/pull/16736)
by [@&#8203;YuriiMotov](https://redirect.github.com/YuriiMotov).

###
[`v0.162.6`](https://redirect.github.com/fastapi/fastapi/releases/tag/0.162.6)

[Compare
Source](https://redirect.github.com/fastapi/fastapi/compare/0.162.5...0.162.6)

> FastAPI includes an official skill that helps coding agents use new
features and recommended patterns for your installed version. Install it
with `uvx library-skills` in your project. See [Develop with
AI](https://fastapi.tiangolo.com/ai-development/).

##### Breaking Changes

- 💥 Drop support for Python 3.10. PR
[#&#8203;16737](https://redirect.github.com/fastapi/fastapi/pull/16737)
by [@&#8203;tiangolo](https://redirect.github.com/tiangolo).

</details>

<details>
<summary>pydantic/httpx2 (httpcore2)</summary>

###
[`v2.16.2`](https://redirect.github.com/pydantic/httpx2/releases/tag/v2.16.2)

[Compare
Source](https://redirect.github.com/pydantic/httpx2/compare/v2.16.1...v2.16.2)

##### 🩹 Type aliases evaluate at runtime again

`httpx2` and `httpcore2` 2.16.2 are a patch release with one fix. You
will notice it if your code, or a library you depend on, uses the
aliases in `httpx2._types` inside a runtime typing construct. On 2.16.1,
`import mistralai.client` failed on Python 3.11 to 3.13.

```console
pip install --upgrade httpx2==2.16.2
```

- **`Optional[QueryParamTypes]` and `QueryParamTypes | None` work
again**
([#&#8203;1346](https://redirect.github.com/pydantic/httpx2/pull/1346)).
In 2.16.1 `URLTypes`, `QueryParamTypes`, `HeaderTypes`, `CookieTypes`,
`TimeoutTypes`, `ProxyTypes` and `AuthTypes` were strings.
`Optional[...]` raised `SyntaxError` for `QueryParamTypes` and
`HeaderTypes`, and `| None` raised `TypeError` for all seven. They are
`Union[...]` objects again, as in 2.16.0.

`httpcore2` has no changes. It is bumped to stay in lockstep with
`httpx2`.

**Full changelog:**
[v2.16.1...v2.16.2](https://redirect.github.com/pydantic/httpx2/compare/v2.16.1...v2.16.2)

###
[`v2.16.1`](https://redirect.github.com/pydantic/httpx2/releases/tag/v2.16.1)

[Compare
Source](https://redirect.github.com/pydantic/httpx2/compare/v2.16.0...v2.16.1)

##### 🚦 Concurrent HTTP/2 uploads no longer stall

`httpx2` and `httpcore2` 2.16.1 are a patch release. Every change is a
fix. You will notice it most if you run several HTTP/2 uploads over one
connection, where requests could hang until the read timeout.

```console
pip install --upgrade httpx2==2.16.1
```

- **Uploads sharing an HTTP/2 connection finish instead of waiting for
the read timeout**
([#&#8203;1163](https://redirect.github.com/pydantic/httpx2/pull/1163)).
Once the flow control window was exhausted, a waiting upload could miss
the `WINDOW_UPDATE` that another task had already read, then block on a
read the server had nothing to answer. `httpcore2` now rechecks the
window after acquiring the read lock.
- **A missing `Host` header raises `LocalProtocolError`**
([#&#8203;1319](https://redirect.github.com/pydantic/httpx2/pull/1319)).
An HTTP/2 request sent directly to an `httpcore2` connection without
`Host` raised `IndexError` before.

##### 🧭 Redirects, proxies and Digest auth

- **A redirect with an invalid `Location` returns the response when
redirects are not followed**
([#&#8203;1064](https://redirect.github.com/pydantic/httpx2/pull/1064)).
`httpx2` raised `RemoteProtocolError` and discarded the response. You
now get the response with its headers, and `response.next_request` is
`None`.
- **`*.example.com` in `NO_PROXY` matches subdomains**
([#&#8203;1277](https://redirect.github.com/pydantic/httpx2/pull/1277)).
The entry never matched before, so those requests still went through the
proxy. It now behaves like `.example.com`.
- **Digest challenges with mixed-case parameter names are accepted**
([#&#8203;1315](https://redirect.github.com/pydantic/httpx2/pull/1315)).
A challenge such as `Digest Realm="r", Nonce="n"` raised `ProtocolError`
before. Whitespace around `=` is allowed too.

##### 📦 Signed releases

- **The publish workflow generates PEP 740 attestations**
([#&#8203;1339](https://redirect.github.com/pydantic/httpx2/pull/1339)).
Every distribution is signed before `uv publish` uploads it. Releases
since the move to `uv publish` had no provenance on PyPI.

**Full changelog:**
[v2.16.0...v2.16.1](https://redirect.github.com/pydantic/httpx2/compare/v2.16.0...v2.16.1)

</details>

<details>
<summary>terryyin/lizard (lizard)</summary>

###
[`v1.26.1`](https://redirect.github.com/terryyin/lizard/blob/HEAD/CHANGELOG.md#1261)

[Compare
Source](https://redirect.github.com/terryyin/lizard/compare/1.26.0...1.26.1)

##### Bug Fixes

- C/C++, Java, C#, JavaScript, and TypeScript: count the `?` of a
ternary between comparisons (`a < b ? c > d : e`); it was read as part
of a type argument list, so the CCN was one too low (PR
[#&#8203;572](https://redirect.github.com/terryyin/lizard/issues/572))
- Python: count the lines of prefixed triple-quoted strings (`return
f"""..."""`) and of f-string literal chunks in NLOC instead of reading
them as comments, which could make NLOC negative; a variable named `f`,
`r` or `b` before a standalone docstring no longer makes it look
prefixed (PR
[#&#8203;568](https://redirect.github.com/terryyin/lizard/issues/568))
- JSX and TSX: `//` in element text (`<p>Visit https://example.com</p>`)
no longer swallows the closing tag and the functions after it (PR
[#&#8203;567](https://redirect.github.com/terryyin/lizard/issues/567))
- JSX and TSX: no empty text token between two adjacent child elements,
which crashed `-Eduplicate` with `IndexError` (PR
[#&#8203;571](https://redirect.github.com/terryyin/lizard/issues/571))
- Rust: the `||` of a closure without parameters is one token again (PR
[#&#8203;569](https://redirect.github.com/terryyin/lizard/issues/569))
- API: `FunctionInfo.cognitive_complexity` is present as `0` for
functions without cognitive complexity, matching the CLI (issue
[#&#8203;570](https://redirect.github.com/terryyin/lizard/issues/570))

</details>

<details>
<summary>pydantic/pydantic-settings (pydantic-settings)</summary>

###
[`v2.16.3`](https://redirect.github.com/pydantic/pydantic-settings/releases/tag/v2.16.3)

[Compare
Source](https://redirect.github.com/pydantic/pydantic-settings/compare/v2.16.2...v2.16.3)

#### Highlights

This patch release fixes a security issue in the default secrets source,
a regression from 2.14.2 that dropped nested secrets on Kubernetes, and
a `CliApp.serialize` round-trip bug with `CliUnknownArgs`.

##### Security

- **`SecretsSettingsSource` no longer follows symlinks that resolve
outside `secrets_dir`**
([#&#8203;1138](https://redirect.github.com/pydantic/pydantic-settings/pull/1138),
fixes
[#&#8203;1137](https://redirect.github.com/pydantic/pydantic-settings/issues/1137)).
A secret file that is a symbolic link to a file outside `secrets_dir`
was read into the matching field, so anyone who could place a link in
`secrets_dir` could make the application load any file it can read. This
is the plain-source counterpart of GHSA-4xgf-cpjx-pc3j, whose fix in
2.14.2 covered only `NestedSecretsSettingsSource`. Links that stay
inside `secrets_dir`, such as the Kubernetes secret volume layout
(`passwd` linking to `..data/passwd`), still work.

##### Behavior changes

- A secret file that resolves outside `secrets_dir` is now skipped with
a warning instead of being read
([#&#8203;1138](https://redirect.github.com/pydantic/pydantic-settings/pull/1138)).
If you deliberately point secret files at targets elsewhere on disk,
move or copy the targets into `secrets_dir`, or point `secrets_dir` at
the directory that holds them.
- `NestedSecretsSettingsSource` skips hidden entries (names starting
with `.`) again, as it did before 2.14.2, and stops with a
`SettingsError` after 10,000 entries
([#&#8203;1070](https://redirect.github.com/pydantic/pydantic-settings/pull/1070)).

##### Bug fixes

**Secrets**

- With `secrets_nested_subdir=True`, a directory reached through a
second symlink is loaded again
([#&#8203;1070](https://redirect.github.com/pydantic/pydantic-settings/pull/1070),
fixes
[#&#8203;1061](https://redirect.github.com/pydantic/pydantic-settings/issues/1061)).
Since 2.14.2, only the name that sorted first was walked, so the
standard Kubernetes secret volume layout (`db` linking to `..data/db`)
silently lost its nested secrets.
- A symlink loop inside `secrets_dir` is skipped instead of aborting the
load with `RuntimeError` on Python 3.11 and 3.12
([#&#8203;1070](https://redirect.github.com/pydantic/pydantic-settings/pull/1070),
[#&#8203;1138](https://redirect.github.com/pydantic/pydantic-settings/pull/1138)).

**CLI**

- `CliApp.serialize` keeps each level's `CliUnknownArgs` before that
level's subcommand token
([#&#8203;1050](https://redirect.github.com/pydantic/pydantic-settings/pull/1050),
fixes
[#&#8203;1048](https://redirect.github.com/pydantic/pydantic-settings/issues/1048)).
They were emitted after the last subcommand, so parsing the output again
moved a parent's unknown args onto the subcommand.

<details>
<summary><b>All changes</b></summary>

#### What's Changed
* Fix CliApp.serialize moving a parent unknown args into the subcommand
by
@&#8203;XXXXXQ-02[https://github.com/pydantic/pydantic-settings/pull/1050](https://redirect.github.com/pydantic/pydantic-settings/pull/1050)l/1050
* Load nested secrets reached through a second directory link by
@&#8203;digit[https://github.com/pydantic/pydantic-settings/pull/1070](https://redirect.github.com/pydantic/pydantic-settings/pull/1070)l/1070
* Prevent SecretsSettingsSource from following symlinks outside
secrets_dir by
@&#8203;twotnguy[https://github.com/pydantic/pydantic-settings/pull/1138](https://redirect.github.com/pydantic/pydantic-settings/pull/1138)l/1138

#### New Contributors
* @&#8203;XXXXXQ-0206 made their first
contributi[https://github.com/pydantic/pydantic-settings/pull/1050](https://redirect.github.com/pydantic/pydantic-settings/pull/1050)l/1050
* @&#8203;twotnguyen made their first
contributi[https://github.com/pydantic/pydantic-settings/pull/1138](https://redirect.github.com/pydantic/pydantic-settings/pull/1138)l/1138

**Full Changelog**:
<pydantic/pydantic-settings@v2.16.2...v2.16.3>

</details>

</details>

<details>
<summary>syrupy-project/syrupy (syrupy)</summary>

###
[`v7.0.2`](https://redirect.github.com/syrupy-project/syrupy/blob/HEAD/CHANGELOG.md#v702-2026-11-16)

[Compare
Source](https://redirect.github.com/syrupy-project/syrupy/compare/v7.0.1...v7.0.2)

###
[`v7.0.1`](https://redirect.github.com/syrupy-project/syrupy/blob/HEAD/CHANGELOG.md#v701-2026-11-14)

[Compare
Source](https://redirect.github.com/syrupy-project/syrupy/compare/v7.0.0...v7.0.1)

</details>

<details>
<summary>astral-sh/ty (ty)</summary>

###
[`v0.0.104`](https://redirect.github.com/astral-sh/ty/blob/HEAD/CHANGELOG.md#00104)

[Compare
Source](https://redirect.github.com/astral-sh/ty/compare/0.0.103...0.0.104)

Released on 2026-11-13.

##### Bug fixes

- Narrow class objects in equality and membership checks
([#&#8203;30393](https://redirect.github.com/astral-sh/ruff/pull/30393))
- Preserve literals outside a protocol when simplifying unions
([#&#8203;30398](https://redirect.github.com/astral-sh/ruff/pull/30398))
- Respect implicit `__hash__ = None` when a class defines `__eq__`
([#&#8203;30145](https://redirect.github.com/astral-sh/ruff/pull/30145))

##### LSP server

- Fix completion after an alias in a parenthesized import
([#&#8203;30394](https://redirect.github.com/astral-sh/ruff/pull/30394))
- Suppress completions while typing multiline import aliases
([#&#8203;30397](https://redirect.github.com/astral-sh/ruff/pull/30397))

##### Contributors

- [@&#8203;lerebear](https://redirect.github.com/lerebear)
- [@&#8203;carljm](https://redirect.github.com/carljm)

###
[`v0.0.103`](https://redirect.github.com/astral-sh/ty/blob/HEAD/CHANGELOG.md#00103)

[Compare
Source](https://redirect.github.com/astral-sh/ty/compare/0.0.102...0.0.103)

Released on 2026-11-13.

##### Bug fixes

- Avoid spurious syntax warnings when applying fixes
([#&#8203;30404](https://redirect.github.com/astral-sh/ruff/pull/30404))
- Fix a panic checking class decorators with inferred return types
([#&#8203;30399](https://redirect.github.com/astral-sh/ruff/pull/30399))
- Infer nested classes as read-only attributes
([#&#8203;29346](https://redirect.github.com/astral-sh/ruff/pull/29346))
- Infer value types for bare `Final` and `ClassVar`
([#&#8203;30293](https://redirect.github.com/astral-sh/ruff/pull/30293))
- Preserve excluded types when inferring type variable upper bounds
([#&#8203;30237](https://redirect.github.com/astral-sh/ruff/pull/30237))
- Preserve inherited value types on repeated bare ClassVar annotations
([#&#8203;30396](https://redirect.github.com/astral-sh/ruff/pull/30396))
- Respect return constraints when promoting literal arguments
([#&#8203;30153](https://redirect.github.com/astral-sh/ruff/pull/30153))

##### LSP server

- Resolve pytest fixtures registered through pytest_plugins
([#&#8203;29588](https://redirect.github.com/astral-sh/ruff/pull/29588))

##### Contributors

- [@&#8203;carljm](https://redirect.github.com/carljm)
- [@&#8203;abalakh](https://redirect.github.com/abalakh)
- [@&#8203;AlexWaygood](https://redirect.github.com/AlexWaygood)

###
[`v0.0.102`](https://redirect.github.com/astral-sh/ty/blob/HEAD/CHANGELOG.md#00102)

[Compare
Source](https://redirect.github.com/astral-sh/ty/compare/0.0.101...0.0.102)

Released on 2026-11-12.

##### Breaking changes

- Split `invalid-return-type` into 3 focussed rules; rename `empty-body`
and `unsound-return`
([#&#8203;29947](https://redirect.github.com/astral-sh/ruff/pull/29947))

##### Bug fixes

- Avoid runaway inference for nested calls with union parameters
([#&#8203;30220](https://redirect.github.com/astral-sh/ruff/pull/30220))
- Fix a panic when simplifying recursive wide unions
([#&#8203;30141](https://redirect.github.com/astral-sh/ruff/pull/30141))
- Fix a stack overflow when inferring calls that return recursive
aliases
([#&#8203;30149](https://redirect.github.com/astral-sh/ruff/pull/30149))
- Keep callable-local type variables out of enclosing constraints
([#&#8203;30241](https://redirect.github.com/astral-sh/ruff/pull/30241))
- Preserve Self for unary operators on bounded type variables
([#&#8203;30242](https://redirect.github.com/astral-sh/ruff/pull/30242))
- Preserve descriptor write contracts in overrides and protocols
([#&#8203;30252](https://redirect.github.com/astral-sh/ruff/pull/30252))

##### Diagnostic improvements

- Rename `call-abstract-method` to `abstract-method-call`
([#&#8203;30287](https://redirect.github.com/astral-sh/ruff/pull/30287))
- Rename `call-non-callable` to `not-callable`
([#&#8203;30284](https://redirect.github.com/astral-sh/ruff/pull/30284))
- Rename `call-top-callable` to
`call-to-function-with-unknown-signature`
([#&#8203;30285](https://redirect.github.com/astral-sh/ruff/pull/30285))
- Rename `dataclass-field-order` to `invalid-dataclass-field-order`
([#&#8203;30289](https://redirect.github.com/astral-sh/ruff/pull/30289))
- Rename `implicit-concatenated-string-type-annotation` to
`implicit-string-concatenation-in-annotation`; improve documentation
([#&#8203;30286](https://redirect.github.com/astral-sh/ruff/pull/30286))
- Warn by default for a single overload
([#&#8203;30214](https://redirect.github.com/astral-sh/ruff/pull/30214))

##### Memory usage improvements

- Check unused stub parameters in the surrounding inference
([#&#8203;30251](https://redirect.github.com/astral-sh/ruff/pull/30251))

##### Other changes

- Cache alias-preserving binary unions
([#&#8203;30094](https://redirect.github.com/astral-sh/ruff/pull/30094))
- Share use-def layouts for stub function parameters
([#&#8203;30248](https://redirect.github.com/astral-sh/ruff/pull/30248))
- Skip unused parameter bindings in stub bodies
([#&#8203;30330](https://redirect.github.com/astral-sh/ruff/pull/30330))

##### Contributors

- [@&#8203;MichaReiser](https://redirect.github.com/MichaReiser)
- [@&#8203;charliermarsh](https://redirect.github.com/charliermarsh)
- [@&#8203;carljm](https://redirect.github.com/carljm)
- [@&#8203;AlexWaygood](https://redirect.github.com/AlexWaygood)

</details>

---

### Configuration

📅 **Schedule**: (in timezone UTC)

- Branch creation
  - At any time (no schedule defined)
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config
help](https://redirect.github.com/renovatebot/renovate/discussions) if
that's undesired.

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4yMzkuMSIsInVwZGF0ZWRJblZlciI6IjQ0LjIzOS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJzY29wZS9kZXBzIiwidHlwZS9jaG9yZSJdfQ==-->

---------

Co-authored-by: dan-petty-renovate[bot] <357470286+dan-petty-renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Petty <contact@danielpetty.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant